export interface RuleParam {
    param: string;
    defaultValue: unknown;
    validValue?: (value: unknown) => string | null;
    demoValue?: unknown;
    optionList?: (string | null)[];
    descEn?: string;
    descCn?: string;
}

export interface Rule {
    id: string;
    enabled: boolean | "pending";
    descEn: string;
    descCn: string;
    versionAdded: string;
    versionChanged?: string;
    paramList: RuleParam[];
    url: string;
}